# alpha范围0.04-0.25
# beta范围0.04-0.60
# gamma范围0.04-0.60

from time import time
import numpy as np

OPT = " --enable-ABM=true"

ER = " --network=ER --node=2000 --edge=10000"
WS = " --network=WS --node=2000 --k=10 --p=0.5"
BA = " --network=BA --node=2000 --m0=5 --m=5"

SIS = " --dynamic=SIS"
SIR = " --dynamic=SIR"
SEIR = " --dynamic=SEIR"

net = [ER, WS, BA]
dyn = [SIS, SIR, SEIR]

t1 = time()

for alpha in np.arange(0.04, 0.16, 0.01):
    for beta in np.arange(0.10, 0.41, 0.02):
        for gamma in np.arange(0.30, 0.61, 0.05):
            for n in net:
                for d in dyn:
                    print("./build/Simulation" + OPT + n + d + " --alpha=" + "{:.2f}".format(
                        alpha) + " --beta=" + "{:.2f}".format(beta) + " --gamma=" + "{:.2f}".format(gamma))

t2 = time()

print(t2 - t1)